package com.itheima.d3_collection_traverse;

public class Movie {
    private String name;
    private double price;
    private String movieName;

    public Movie() {
    }

    public Movie(String name, double price, String movieName) {
        this.name = name;
        this.price = price;
        this.movieName = movieName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getMovieName() {
        return movieName;
    }

    public void setMovieName(String movieName) {
        this.movieName = movieName;
    }
}
